package nan.nanfang.test08;

public class UPang extends DianZiSheBei implements USB,LianJIe{
    @Override
    public void Liangjie(USB usb) {
        System.out.println("U盘连接成功");
        usb.xie();
        usb.du();
    }

    @Override
    public void du() {
        System.out.println("U盘开始读取");
    }

    @Override
    public void xie() {
        System.out.println("U盘开始写");
    }
}
